﻿package {
	import flash.display.Sprite;
	import flash.events.Event;
	
	/**
	 * ...
	 * @author tvardy
	 */
	[SWF( width="320", height="240", frameRate="30", backgroundColor="FFFFFF" )]
	public class Viewer extends Sprite {
		
		public function Main() {
			if ( stage ) init();
			else addEventListener( Event.ADDED_TO_STAGE, init );
		}
		
		private function init( e:Event = null ) : void {
			removeEventListener( Event.ADDED_TO_STAGE, init );
			// entry point
		}
		
	}
	
}